<?php

/**
 * Template for a block on
 * user profile page
 * This is just one block
 * There will be other blocks on
 * user profile page like
 * Block with all user questions, another one
 * with user answers, etc.
 * 
 */
class tplUserInfo extends StudyBuddy\Template\Template {

    protected static $vars = array(
        'username' => '', // 1
        'avatar' => '', //2
        'reputation' => '', // 3
        'reputationLabel' => 'reputation', // 4
        'name' => '', // 5
        'nameLabel' => 'Name', // 6
        'since' => '', // 7
        'sinceLabel' => 'Member since', // 8
        'lastActivity' => '', // 9
        'lastLabel' => 'Last seen', // 10
        'website' => '', // 11
        'websiteLabel' => 'Website', //12
        'twitter' => '', // 13
        'twitterLabel' => 'Twitter', //14
        'facebook' => '', //15
        'facebookLabel' => 'Facebook', // 16
        'location' => '', // 17
        'locationLabel' => 'Location', //18
        'age' => '', //19
        'ageLabel' => 'Age', //20
        'description' => '', //21
        'editRole' => '', // 22
        'followButton' => '', // 23
        'followers' => '', //24
        'following' => '', //25
        'gender' => '', //26
        'genderLabel' => 'Gender', //27
        'editLink' => '', //28
        'usernameLabel' => 'Username', //29
        'tumblr' => '', //30
        'tumblrLabel' => 'Tumblr', //31
        'blogger' => '', //32
        'bloggerLabel' => 'Blogger', //33
        'linkedin' => '', //34
        'linkedinLabel' => 'LinkedIn', //35
        'hasbadges' => '', //36
        'confirmation' => '', // 37
        'divSetting' => '', //38
    );
    protected static $tpl = '
	<div style="padding:10px;">
		<div class="yui3-g mb10" id="view_profile">
			
		<div class="yui3-u-1-2" id="profileMiddle">
		<table class="user_stuff">
			<tr>
				<th colspan="2">%28$s</th>
			</tr>
			<tr>
				<td class="ar">%29$s</td>
				<td>%1$s</td>
			</tr>
			<tr>
				<td class="ar">%6$s</td>
				<td>%5$s</td>
			</tr>
			<tr>
				<td class="ar">%27$s</td>
				<td>%26$s</td>
			</tr>
			<tr>
				<td class="ar">%8$s</td>
				<td>%7$s</td>
			</tr>
			<tr>
				<td class="ar">%10$s</td>
				<td>%9$s</td>
			</tr>
			<tr>
				<td class="ar">%12$s</td>
				<td>%11$s</td>
			</tr>
			<tr>
				<td class="ar">%14$s</td>
				<td>%13$s</td>
			</tr>
			<!--<tr>
				<td class="ar">%16$s</td>
				<td>%15$s</td>
			</tr>
			<tr>
				<td class="ar">%35$s</td>
				<td>%34$s</td>
			</tr>-->
			<tr>
				<td class="ar">%31$s</td>
				<td>%30$s</td>
			</tr>
			<tr>
				<td class="ar">%33$s</td>
				<td>%32$s</td>
			</tr>
			<!--<tr>
				<td class="ar">%18$s</td>
				<td>%17$s</td>
			</tr>
			<tr>
				<td class="ar">%20$s</td>
				<td>%19$s</td>
			</tr>-->
		</table>
		</div>

			<div class="yui3-u-1-2" id="profileLeft" style="position: relative">
				<div class="profile_avatar">%2$s</div>
				<div class="user_score">%3$s<br><span>%4$s</span></div>
				%23$s
				%24$s
				%25$s
				%22$s
                        %38$s
			</div>
		</div>
	</div>
	%36$s
	';

}
